import './Info.css'
import React from 'react'

export const Info = (props) => {
    const {name, age, sex} = props.info
  return (
    <div className='info'>
        <p>{name}</p>
        <p>{age}</p>
        <p>{sex}</p>
    </div>
  )
}
